acpi/hvmloader: Translate all addresses when assigning addresses in ACPI tables
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Wed, 28 Sep 2016 13:21:55 +0000 (09:21 -0400)
committerWei Liu <wei.liu2@citrix.com>
Wed, 28 Sep 2016 13:32:05 +0000 (14:32 +0100)
commit999fb168a85e4ea9b283e4391228453c04f1de2b
tree1122f44338f1cb6488e24afb5f0e5f8784241ed8
parent9635a512c63d6b883b5750d8bfea05418ebbd554
acpi/hvmloader: Translate all addresses when assigning addresses in ACPI tables

Non-hvmloader users may be building tables in virtual address space
and therefore we need to make sure that values that end up in tables
are physical addresses.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
tools/firmware/hvmloader/acpi/build.c